import StepKycEntry from "./StepKycEntry"
import StepKycIntroGuide from "./StepKycIntroGuide"
import StepKycSelectIdType from "./StepKycSelectIdType"
import StepKycOcr from "./StepKycOcr"
import StepKycOcrCallbackResult from "./StepKycOcrCallbackResult"
import StepKycSelfieGuide from "./StepKycSelfieGuide"
import StepKycSelfiePhoto from "./StepKycSelfiePhoto"
import StepKycTakeIdSelfieResult from "./StepKycTakeIdSelfieResult"
import StepKycCompleteForm from "./StepKycCompleteForm"
import StepKycBasicInformationForm from "./StepKycBasicInformationForm"
import StepKycSuccess from "./StepKycSuccess"
import { memo } from "preact/compat"

export {
    StepKycEntry,
    StepKycIntroGuide,
    StepKycSelectIdType,
    StepKycOcr,
    StepKycOcrCallbackResult,
    StepKycSelfieGuide,
    StepKycSelfiePhoto,
    StepKycTakeIdSelfieResult,
    StepKycCompleteForm,
    StepKycBasicInformationForm,
    StepKycSuccess,
}

// 步驟與組件的映射關係
export const StepComponentMap = {
    "step-kyc-entry": memo(StepKycEntry),
    "step-kyc-intro-guide": memo(StepKycIntroGuide),
    "step-kyc-select-id-type": memo(StepKycSelectIdType),
    "step-kyc-ocr": memo(StepKycOcr),
    "step-kyc-ocr-callback-result": memo(StepKycOcrCallbackResult),
    "step-kyc-selfie-guide": memo(StepKycSelfieGuide),
    "step-kyc-selfie-photo": memo(StepKycSelfiePhoto),
    "step-kyc-take-id-selfie-result": memo(StepKycTakeIdSelfieResult),
    "step-kyc-complete-form": memo(StepKycCompleteForm),
    "step-kyc-basic-information-form": memo(StepKycBasicInformationForm),
    "step-kyc-success": memo(StepKycSuccess),
}
